Finding the k Shortest Paths in
نویسنده
چکیده
A concurrent-read exclusive-write PRAM algorithm is developed to nd the k shortest paths between pairs of vertices in an edge-weighted directed graph. Repetitions of vertices along the paths are allowed. The algorithm computes an implicit representation of the k shortest paths to a given destination vertex from every vertex of a graph with n vertices and m edges, using O(m + nk log 2 k) work and O(log 3 k log k + log n(log log k + log n)) time, assuming that a shortest path tree rooted at the destination is precomputed. The paths themselves can be extracted from the implicit representation in O(log k+log n) time, and O(n log n + L) work, where L is the total length of the output.
منابع مشابه
Finding k Simple Shortest Paths and Cycles
We present algorithms and hardness results for several problems related to finding multiple simple shortest paths in a graph. Our main result is a new algorithm for finding k simple shortest paths for all pairs of vertices in a weighted directed graph G = (V,E). For k = 2 our algorithm runs in O(mn + n logn) time where m and n are the number of edges and vertices in G. Our approach is based on ...
متن کاملFinding the k Shortest Paths
We give algorithms for finding the k shortest paths (not required to be simple) connecting a pair of vertices in a digraph. Our algorithms output an implicit representation of these paths in a digraph with n vertices and m edges, in time O(m + n log n + k). We can also find the k shortest paths from a given source s to each vertex in the graph, in total time O(m+ n log n+ kn). We describe appli...
متن کاملFinding the K shortest hyperpaths
The K shortest paths problem has been extensively studied for many years. Efficient methods have been devised, and many practical applications are known. Shortest hyperpath models have been proposed for several problems in different areas, for example in relation with routing in dynamic networks. However, the K shortest hyperpaths problem has not yet been investigated. In this paper we present ...
متن کاملFinding the K shortest hyperpaths: algorithms and applications
The K shortest paths problem has been extensively studied for many years. Efficient methods have been devised, and many practical applications are known. Shortest hyperpath models have been proposed for several problems in different areas, for example in relation with routing in dynamic networks. However, the K shortest hyperpaths problem has not yet been investigated. In this paper we present ...
متن کاملK⁎: A heuristic search algorithm for finding the k shortest paths
We present a directed search algorithm, called K∗, for finding the k shortest paths between a designated pair of vertices in a given directed weighted graph. K∗ has two advantages compared to current k-shortest-paths algorithms. First, K∗ operates on-the-fly, which means that it does not require the graph to be explicitly available and stored in main memory. Portions of the graph will be genera...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2007